package com.sumi.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 合作伙伴银行对象 base_partner_bank
 * 
 * @author fgf67@163.com
 * @date 2024-06-27
 */
public class BasePartnerBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合作伙伴银行id */
    private Long id;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 银行账号 */
    @Excel(name = "银行账号")
    private String bankAccount;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 联行号 */
    @Excel(name = "联行号")
    private String ibknum;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipCide;

    /** 删除时间(软删除) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间(软删除)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setIbknum(String ibknum) 
    {
        this.ibknum = ibknum;
    }

    public String getIbknum() 
    {
        return ibknum;
    }
    public void setZipCide(String zipCide) 
    {
        this.zipCide = zipCide;
    }

    public String getZipCide() 
    {
        return zipCide;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("phone", getPhone())
            .append("addr", getAddr())
            .append("ibknum", getIbknum())
            .append("zipCide", getZipCide())
            .append("deleteTime", getDeleteTime())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
